package com.xiaomi.by_new;

public class Coffee {
    private String name;


    //1.使用有参构造器构造
    public Coffee(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
}
